﻿using IBLL;
using IDAL;
using Model;

namespace BLL
{
    public class AddressBLL:IAddressBLL
    {
        public AddressBLL(IBaseDAL<Address> addressDAL)
        {
            AddressDAL = addressDAL;
        }

        public IBaseDAL<Address> AddressDAL { get; }

        public IQueryable<Address> GetAllAddress()
        {
            return AddressDAL.GetAllAsync();
        }
    }
}
